
package com.sm.shoplook.dao.mapper.system;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sm.shoplook.domain.system.User;
import com.sm.shoplook.vo.system.user.req.UserPageSearchReqVo;
import com.sm.shoplook.vo.system.user.resp.UserRoleRespVo;

import tk.mybatis.mapper.common.BaseMapper;

public interface UserMapper extends BaseMapper<User> {

	List<User> selectUsersByUserName(@Param("userName") String userName);

	List<User> selectUsersPage(UserPageSearchReqVo userSearchReqVo);

	int deleteUsers(@Param("ids") String[] idList);

	int insertUser(User user);

	UserRoleRespVo selectUserRoleByUserId(Integer userId);
}
